package Model.diagram;

import java.util.Map;

import Model.Classe;
import Model.interfaces.Iassociation;
import Model.interfaces.Idiagrame;

public class ClassDiagram implements Idiagrame{
	private Map<String,Classe> ClasMap;
	private Map<String,Iassociation> associationmap;
	
	
	
	public ClassDiagram(){
		
	}
	@Override
	public void addClass(Map<String, Classe> clas) {
		this.ClasMap=clas;
		
	}

	@Override
	public void removeClass(Classe clas) {
		// TODO Auto-generated method stub
		
	}

	@Override
	public void addAssociation(Iassociation association) {
		// TODO Auto-generated method stub
		
	}

	@Override
	public void removeAssociation(Iassociation association) {
		// TODO Auto-generated method stub
		
	}

	@Override
	public void addIframe(Idiagrame frame) {
		// TODO Auto-generated method stub
		
	}

	@Override
	public void addAssociationlist(Map<String, Iassociation> assoc) {
		this.associationmap=assoc;
	}

	public Map<String,Classe> getClasMap() {
		return ClasMap;
	}

	public void setClasMap(Map<String,Classe> clasMap) {
		ClasMap = clasMap;
	}

	public Map<String,Iassociation> getAssociationmap() {
		return associationmap;
	}

	public void setAssociationmap(Map<String,Iassociation> associationmap) {
		this.associationmap = associationmap;
	}
	@Override
	public Map<String, Iassociation> listAssociation() {
		// TODO Auto-generated method stub
		return associationmap;
	}
	@Override
	public Map<String, Classe> listClassen() {
		// TODO Auto-generated method stub
		return ClasMap;
	}

}
